﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="KPIS.GERP.SECURITY.App_UI.Forms.Login" %>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>Login เข้าสู่ระบบ</title>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>    

    <telerik:RadAjaxManager runat="server" ID="RadManager1" >
        <AjaxSettings>

            <telerik:AjaxSetting AjaxControlID="cmdLogin">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="panelLogin" LoadingPanelID="RadAjaxLoadingPanel1"/>
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="btnRegister">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="btnRegister"/>
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
    
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" 
        Height="100%" Width="75px" Transparency="50">
        <table style="height: 100%; width: 100%" border="0">
            <tr>
                <td width="100%" align="center" valign="middle">
                    <img alt="Loading..." 
                        src="../Images/Buttons/loading.gif" 
                        style="border: 0px;" />
                </td>
            </tr>
        </table>
    </telerik:RadAjaxLoadingPanel>
    <table width="980px" cellpadding="0" cellspacing="0" align="center">
                <tr>
                    <td height="110px">
                        <asp:Image ID="headerImage" runat="server" ImageUrl ="~/App_UI/Images/PageViews/Header.jpg">
                        </asp:Image>
                    </td>
                </tr>
                <tr>
                <td>    
    <table width="98%">
        <tr>
            <td align="center" height="400px" valign="middle">
            <asp:Panel ID="PanelLogin" runat="server" ScrollBars="Auto"  DefaultButton="cmdLogin"
                BackImageUrl ="~/App_UI/Images/Background/bg_login.jpg" 
                width="462" Height = "303" BorderStyle ="Double" BorderColor ="Navy">
                <table cellpadding="0" cellspacing="0" width="450" align = "center">
                    <tr>
                        <td>
                            <table style="width:100%;">
                                <tr>
                                    <td colspan="2" >
                                        &nbsp;</td>
                                </tr>
                                <tr>
                                    <td colspan="2" >
                                        &nbsp;</td>
                                </tr>
                                <tr>
                                    <td align="right" colspan="2" >
                                        <font style="color: #66CCFF; font-style:italic" > 
                                        กรุณากรอกข้อมูลเพื่อเข้าสู่ระบบ</font>
                                        </td>
                                </tr>
                                
                                <tr>
                                    <td align="right" colspan = "2">   
                                        <font style="color: #66CCFF" >                                 
                                            &nbsp;
                                        </font>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="2" >
                                        &nbsp;</td>
                                </tr>
                                <tr>
                                    <td colspan="2" >
                                        &nbsp;</td>
                                </tr>
                                <tr>
                                    <td colspan="2" >
                                        &nbsp;</td>
                                </tr>
                                <tr>
                                    <td align="right" style="color: #666699">
                                        รหัสประจำตัว :</td>
                                    <td align="left">
                                        <telerik:RadTextBox ID="txtUserID" Runat="server">
                                        </telerik:RadTextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td align="right" style="color: #666699">
                                        รหัสผ่าน :</td>
                                    <td align="left">
                                        <telerik:RadTextBox ID="txtPassword" Runat="server" TextMode="Password">
                                        </telerik:RadTextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td align="right">
                                        &nbsp;</td>
                                    <td align="left">
                                       
                                    </td>
                                </tr>
                                <%--<tr>
                                    <td align="center" colspan="2">
                                        &nbsp;</td>
                                </tr>--%>
                                <tr>
                                    <td align="center" colspan="2">
                                        <asp:Button ID="cmdLogin" runat="server" 
                                            onclick="cmdLogin_Click" Text="เข้าสู่ระบบ" Width="100" />
                                    </td>
                                </tr>
                                <tr>
                                    <td align="right" colspan="2" style="color: #33CCFF; font-style: italic;">
                                        &nbsp;&nbsp;</td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
                </asp:Panel>
            </td>
        </tr>
    </table>
    </td>
    </tr>
    </table>

    </form>
</body>
</html>
